package org.jradweb.core.beans;

import org.springframework.core.NestedRuntimeException;
/**
 * /**
 * Abstract superclass for all exceptions thrown in the beans package
 * and subpackages.
 *
 * <p>Note that this is a runtime (unchecked) exception. Beans exceptions
 * are usually fatal; there is no reason for them to be checked.
 * *
 * Created On 2008-7-8
 * @author <a href="mailto:wagzhi@gmail.com">Paul Wang</a>
 * @version $Id: BeansException.java 149 2008-10-10 03:10:10Z wagzhi $
 */
public abstract class BeansException extends NestedRuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7141714327413321626L;
	/**
	 * Create a new BeansException with the specified message.
	 * @param msg the detail message
	 */
	public BeansException(String msg) {
		super(msg);
	}

	/**
	 * Create a new BeansException with the specified message
	 * and root cause.
	 * @param msg the detail message
	 * @param cause the root cause
	 */
	public BeansException(String msg, Throwable cause) {
		super(msg, cause);
	}

}
